package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.dto.order.OrderAddRequest;
import com.yupi.springbootinit.model.entity.Order;
import com.yupi.springbootinit.model.vo.OrderVo;

/**
* @author wzhRoot
* @description 针对表【order】的数据库操作Service
* @createDate 2023-12-16 16:10:41
*/
public interface OrderService extends IService<Order> {

    OrderVo addOrder(OrderAddRequest orderAddRequest);

    boolean recoverInterfaceStock(Integer bookId, Integer bookNum);
}
